package cn.itcast.travel.dao;

import cn.itcast.travel.domain.Route;

import java.util.List;

public interface RoutDao {
    public int findTotalCount(int id, String rname);
    public List<Route> findByPage(int cid, int start, int pageSize, String name);
    public Route findOne(int rid);

    List<Route> findIndex();

    List<Route> findAll();
}
